#from django.conf.urls.defaults import patterns, include, url
from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'hello.views.home', name='home'),
    # url(r'^hello/', include('hello.foo.urls')),


    # Uncomment the admin/doc line below to enable admin documentation:
    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),


    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
    (r'^blog/', include('hello.blog.urls')),
    (r'^hello/',include('hello.blog.urls')),
    (r'^mytime/',include('hello.blog.urls')),
    (r'^books/',include('hello.books.urls')),
    (r'^contact/',include('hello.contact.urls')),
    #(r'^register$',"hello.views.register",name="register"),
    (r'^register',"hello.views.register"),
    (r'^accounts/login',"hello.views.register"),
    (r'^logout',"hello.views.logout"),
)
